﻿<%@ Page Title="登录" Language="C#"  AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="PCMSofCC.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Coca-cola 登录</title>
        <link href="/css/content.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form runat="server">
    <div id="loginContainer" class="loginContainer">
<%--        <input id="username" class="loginInpute" type="text" />
        <input id="password" class="loginInpute" type="password" />
        <input id="submit" class="loginButton" type="submit" value="" />
        <input id="reset" class="loginButton" type="reset" value="" />--%>
        <asp:Login ID="Login1" runat="server" DestinationPageUrl="~/General/Home.aspx" CssClass="loginAspContainer" FailureText="您的登录尝试不成功，请重试"
            PasswordRequiredErrorMessage="必须填写“密码”" RememberMeText="记住我的登录状态" UserNameRequiredErrorMessage="必须填写“用户名”">
            <LayoutTemplate>
                <asp:TextBox ID="UserName" CssClass="username" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="UserNameRequired" CssClass="UserNameRequired" runat="server" ControlToValidate="UserName"
                    ErrorMessage="必须填写“用户名”" ToolTip="" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                <asp:TextBox ID="Password" CssClass="password" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="PasswordRequired" CssClass="PasswordRequired" runat="server" ControlToValidate="Password"
                    ErrorMessage="必须填写“密码”" ToolTip="" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                <asp:CheckBox ID="RememberMe" runat="server" CssClass="RememberMe" Text="记住我的登录状态" />
                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                <asp:Button ID="LoginButton" CssClass="LoginButton" runat="server" CommandName="Login" Text="" ValidationGroup="Login1" />
            </LayoutTemplate>
        </asp:Login>
    </div>
    </form>
</body>
</html>
